﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data;
namespace WebApplication1
{
   

    public  class UserInfo
    {
         public string UserName;
         public  string ChineseName;
         public string PhoneNr;
         public string WeChat;



        public void Init(string PhoneNumber)
{
    PhoneNr = PhoneNumber;
    MedEq me = new MedEq();
    DataSet ds = me.GetUserInfo(PhoneNumber);
    UserName = ds.Tables[0].Rows[0][0].ToString();
    ChineseName = ds.Tables[0].Rows[0][1].ToString();
    WeChat = ds.Tables[0].Rows[0][3].ToString();

}





    }
  





}